<h1>NAME</h1>
<p>nbfc_service - Notebook FanControl service</p>
<h1>DESCRIPTION</h1>
<p>NoteBook FanControl service</p>
<h1>SYNOPSIS</h1>
<p><strong>nbfc_service</strong> [<em>OPTIONS</em>]</p>
<h1>OPTIONS</h1>
<p><strong>-h</strong>, <strong>--help</strong></p>
<blockquote>
<p>Show this help message and exit.</p>
</blockquote>
<p><strong>--version</strong></p>
<blockquote>
<p>Show program's version number and exit.</p>
</blockquote>
<p><strong>-r</strong>, <strong>--read-only</strong></p>
<blockquote>
<p>Start in read-only mode.</p>
</blockquote>
<p><strong>-f</strong>, <strong>--fork</strong></p>
<blockquote>
<p>Switch process to background after sucessfully started.</p>
</blockquote>
<p><strong>-d</strong>, <strong>--debug</strong></p>
<blockquote>
<p>Enable tracing of reads and writes of the embedded controller.</p>
</blockquote>
<p><strong>-c</strong>, <strong>--config-file</strong>
<em>CONFIG</em></p>
<blockquote>
<p>Use alternative config file (default /etc/nbfc/nbfc.json).</p>
</blockquote>
<p><strong>-e, --embedded-controller</strong> [<em>dummy</em>,
<em>dev_port</em>, <em>ec_sys</em>, <em>acpi_ec</em>]</p>
<blockquote>
<p>Specify embedded controller to use.</p>
<ul>
<li><p><strong>ec_sys</strong>: Use the ec_sys kernel module for writing
to the embedded controller.</p></li>
<li><p><strong>acpi_ec</strong>: Use the acpi_ec kernel module for
writing to the embedded controller.</p></li>
<li><p><strong>dev_port</strong>: Write to the embedded controller using
/dev/port.</p></li>
<li><p><strong>dummy</strong>: Don't write to the embedded controller at
all.</p></li>
</ul>
</blockquote>
<h1>FILES</h1>
<p><em>/etc/nbfc.json</em></p>
<blockquote>
<p>The main configuration file for nbfc_service. See
<strong>nbfc_service.json</strong>(5) for further details.</p>
</blockquote>
<p><em>/var/run/nbfc_service.pid</em></p>
<blockquote>
<p>File containing the PID of current running nbfc_service.</p>
</blockquote>
<p><em>/var/run/nbfc_service.socket</em></p>
<blockquote>
<p>Socket file of nbfc_service.</p>
</blockquote>
<p><em>/usr/share/nbfc/configs/*.json</em></p>
<blockquote>
<p>Configuration files for various notebook models. See
<strong>nbfc_service.json</strong>(5) for further details.</p>
</blockquote>
<p><em>/usr/share/nbfc/model_support.json</em></p>
<blockquote>
<p>Model support database. This file maps notebook model names to
configuration files.</p>
</blockquote>
<p><em>/var/lib/nbfc/configs/*.json</em></p>
<blockquote>
<p>Configuration files downloaded from the internet. Files in this
directory take precedence over those in
<em>/usr/share/nbfc/configs</em>.</p>
</blockquote>
<p><em>/var/lib/nbfc/model_support.json</em></p>
<blockquote>
<p>Model support database downloaded from the internet. Both
<em>/var/lib/nbfc/model_support.json</em> and
<em>/usr/share/nbfc/model_support.json</em> are taken into account.</p>
</blockquote>
<p><em>/var/lib/nbfc/state.json</em></p>
<blockquote>
<p>State file of nbfc_service. This holds the current fan speeds.</p>
</blockquote>
<h1>EXIT STATUS</h1>
<blockquote>
<ul>
<li><p>0 Everything fine</p></li>
<li><p>1 Generic error</p></li>
<li><p>2 Command line error</p></li>
<li><p>3 Initialization error</p></li>
<li><p>5 Fatal error</p></li>
</ul>
</blockquote>
<h1>BUGS</h1>
<p>Report bugs to https://github.com/nbfc-linux/nbfc-linux</p>
<h1>AUTHOR</h1>
<p>Benjamin Abendroth (braph93@gmx.de)</p>
<h1>SEE ALSO</h1>
<p><strong>nbfc</strong>(1), <strong>nbfc_service.json</strong>(5),
<strong>ec_probe</strong>(1), <strong>fancontrol</strong>(1)</p>
